package com.rongke.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rongke.utils.DateJsonDeserializer;
import com.rongke.utils.DateJsonSerializer;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * @Radiotherapy
 * @放疗记录(radiotherapy)
 * @version : Ver 1.0
 */
@TableName("mr_radiotherapy_record")
public class Radiotherapy implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 3775385536720055006L;

    /**
     * @备注:放疗记录id
     * @字段:id BIGINT(19)
     */
    @TableId(type = IdType.AUTO)
    private java.lang.Long    id;

    private Date              gmtCreate;

    private Date              gmtModified;

    private Long              medicalRecordId;

    private String            startTime;

    private String            endTime;

    private java.lang.Integer times;

    private java.lang.String  amount;

    private java.lang.String  picUrl;

    private java.lang.String  picContent;

    private String            tagInfo;

    private java.lang.String  userId;

    public Radiotherapy() {
    }

    public java.lang.Long getId() {
        return id;
    }

    public void setId(java.lang.Long id) {
        this.id = id;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Long getMedicalRecordId() {
        return medicalRecordId;
    }

    public void setMedicalRecordId(Long medicalRecordId) {
        this.medicalRecordId = medicalRecordId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public java.lang.Integer getTimes() {
        return times;
    }

    public void setTimes(java.lang.Integer times) {
        this.times = times;
    }

    public java.lang.String getAmount() {
        return amount;
    }

    public void setAmount(java.lang.String amount) {
        this.amount = amount;
    }

    public java.lang.String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(java.lang.String picUrl) {
        this.picUrl = picUrl;
    }

    public java.lang.String getPicContent() {
        return picContent;
    }

    public void setPicContent(java.lang.String picContent) {
        this.picContent = picContent;
    }

    public java.lang.String getUserId() {
        return userId;
    }

    public void setUserId(java.lang.String userId) {
        this.userId = userId;
    }

    public String getTagInfo() {
        return tagInfo;
    }

    public void setTagInfo(String tagInfo) {
        this.tagInfo = tagInfo;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
